package com.xxg.renrencommon.domain.dao;

import java.io.Serializable;

/**
 * 类说明
 *
 * @author szj
 * @date 2021/11/26
 */
public interface BaseMapper<Model, PK extends Serializable> {
    int deleteByPrimaryKey(PK id);

    int insert(Model record);

    int insertSelective(Model record);

    Model selectByPrimaryKey(PK id);

    int updateByPrimaryKeySelective(Model record);

    int updateByPrimaryKey(Model record);
}
